export const column = [
  {
    title: '工号',
    dataIndex: 'store_no',
    key: 'store_no',
  },
  {
    title: '品相名称',
    dataIndex: 'name',
    key: 'name'
  },
  {
    title: '职称',
    dataIndex: 'job_type',
    key: 'job_type',
    scopedSlots: { customRender: 'job_type' },
  },
  {
    title: '所属门店',
    dataIndex: 'store',
    key: 'store',
    scopedSlots: { customRender: 'store' },
  },
  {
    title: '性别',
    dataIndex: 'gender',
    key: 'gender',
    scopedSlots: { customRender: 'gender' },
  },
  {
    title: '手机号',
    dataIndex: 'phone',
    key: 'phone',
  },
  {
    title: '岗位',
    dataIndex: 'job_title',
    key: 'job_title',
    scopedSlots: { customRender: 'job_title' },
  },
  {
    title: '角色',
    dataIndex: 'roles',
    key: 'roles',
    scopedSlots: { customRender: 'roles' },
  },
  {
    title: '创建时间',
    dataIndex: 'created_at',
    key: 'created_at',
  },
  {
    title: '是否启用',
    dataIndex: 'status',
    key: 'status',
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '操作',
    dataIndex:'area_no',
    key:'area_no',
    scopedSlots: { customRender: 'area_no' }
  }
];
export const appendData = [
  {
    name:'品相名称',
    type:'input',
    val:'',
    must:true,
    place:'请输入名称',
    key:'name',
  },
  {
    name:'品相价格',
    type:'input',
    val:'',
    must:true,
    place:'请输入价格',
    key:'price',
  },
  {
    name:'品相分类',
    type:'select',
    must:true,
    place:'请选择分类',
    key:['cate_id','cate_sub_id'],
    selectData:[],
    nameKey:'name',
    idKey:'store_no'
  },
  {
    name:'提成比例',
    type:'input',
    val:'',
    must:false,
    place:'请输入比例',
    key:'commission',
  },
  {
    name:'品相次数',
    type:'input',
    val:'',
    must:true,
    place:'请输入次数',
    key:'usage_count',
  },
  {
    name:'有效期',
    type: 'aTime',
    val:'',
    long:'0',
    must: true,
    key:'period',
    place:'请输入有效期'
  }
];
